#ifndef MYPOINT_H
#define MYPOINT_H


class MyPoint
{
    public:
        MyPoint();
        MyPoint(double myX,double myY);

        double distance(MyPoint b);

        void setX(double myX);
        void setY(double myY);
        double getX();
        double getY();

        virtual ~MyPoint();
    protected:
    private:
        double x;
        double y;

};

#endif // MYPOINT_H
